<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-3.0.0/jquery-3.0.0.js" ></script>
		<style>
	div{border: solid 5px black;}
	ul{border: solid 4px #333333;}
	li,h1{border: solid 3px #666666;}
	a{border: solid 2 px #ccccccc;}
	span{border: solid 1px #00800;}
		</style>
	</head>
	<body>
	<div>
		<ul>
			<li ><a href="index.html">链接1</a></li>
			<h1><span>啊啊啊</span></h1>
			<li><a href="index.html ">链接</a></li>
		</ul>
	</div>
	<script>
		$("li").parent().css("border-color","red")
	</script>
	</body>
</html>
